package org.lc.oauth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

import java.util.Arrays;

/**
 * lc-oauth 启动类
 *
 * @author lc
 */
@EnableFeignClients(basePackages = "org.lc")
@ComponentScan(basePackages = "org.lc")
@EnableDiscoveryClient
@SpringBootApplication()
public class LcOAuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(LcOAuthApplication.class, args);
    }
}
